#include<iostream>
#include<array>
#include<algorithm>
#include<iterator>
#include<type_traits>
#include<typeinfo>
using namespace std;

template<typename... TS>
constexpr auto make_array(TS... ts) -> array<int, sizeof...(ts) + 2>
{
	return {-1, forward<TS>(ts)..., -1};
}

int main(void)
{
	auto a = make_array(1, 3, 5, 7, 9);
	copy(a.begin(), a.end(), ostream_iterator<int>(cout, "\t"));
	
	return 0;
}
